package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ly.common.annotation.Excel;

/**
 * 子账户信息对象 erp_son_account
 *
 * @author wutao
 * @date 2024-05-18
 */
@Getter
@Setter
@TableName("erp_son_account")
@ApiModel(value = "子账户信息表", description = "子账户信息表")
public class ErpSonAccount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty ("id")
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    /**
     * 子账户类型
     */
    @ApiModelProperty("子账户类型")
    @TableField("son_account_type")
    @Excel(name = "子账户类型")
    private String sonAccountType;

    /**
     * 子账户号
     */
    @ApiModelProperty("子账户号")
    @TableField("account_num")
    @Excel(name = "子账户号")
    private String accountNum;


    /**
     * 是否正常
     */
    @ApiModelProperty("是否正常")
    @TableField("is_used")
    @Excel(name = "是否正常")
    private Long isUsed;

    /**
     * 客户主键
     */
    @ApiModelProperty("客户主键")
    @TableField("customer_id")
    @Excel(name = "客户主键")
    private String customerId;


}
